﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Home.Master" AutoEventWireup="true"
    CodeBehind="log-in.aspx.cs" Inherits="TripsLogic.log_in" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <article id="content">
				<div class="wrapper pad_bot2" style="background: url(../images/line_ver1.jpg) 590px 36px no-repeat;">
					
					<section class="grid_14" style="padding-right:40px;">
						<h2><asp:Literal ID="litLogIn" runat="server"></asp:Literal></h2>
						<div id="contact_form">
									<div id="contactform" class="main-contacts" runat="server">
													<div class="rowElem">
														<span class="label"><asp:Literal ID="litEmail" runat="server"></asp:Literal>:</span>
														<div class="bg">
                                                            <asp:TextBox ID="txtEmail" Width="261px" runat="server"></asp:TextBox> &nbsp;  &nbsp; 
                                                            <asp:RequiredFieldValidator ID="reqValEmail" runat="server" ControlToValidate="txtEmail"
                                        Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="rgeValEmail" runat="server" ControlToValidate="txtEmail"
                                Display="Dynamic" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
														</div>
													</div>
													<div class="rowElem">
														<span class="label"><asp:Literal ID="litPassword" runat="server"></asp:Literal>:</span>
														<div class="bg">
															<asp:TextBox ID="txtPassword" Width="261px"  runat="server" TextMode="Password"></asp:TextBox>  &nbsp;  &nbsp;    <asp:RequiredFieldValidator ID="reqValPassword" Display="Dynamic" runat="server"
                                ControlToValidate="txtPassword" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red" ID="rgePasswordLength" Display="Dynamic" runat="server" ControlToValidate="txtPassword" 
                                ValidationExpression="[\s\S]{6,30}"></asp:RegularExpressionValidator>
														</div>
													</div>
                                                    <div class="rowElem"><br />
														<span class="label">&nbsp;</span>
                                                        <div><asp:HyperLink ID="hplForgetPass" CssClass="link3" runat="server"></asp:HyperLink><br />
                                                        <asp:Literal ID="litNewUser" runat="server"></asp:Literal>
                                                        <asp:Label ID="lblLoginResponse" runat="server"></asp:Label></div>
													</div>
                                                    <asp:LinkButton ID="lbtLogin" class="button1" runat="server" 
                                                        onclick="lbtLogin_Click"></asp:LinkButton>
											</div>
								</div>
					</section>
                    <section class="grid_8" style="padding-left:20px;">
						<h2><asp:Literal ID="litFacebookLogin" runat="server"></asp:Literal></h2>
						<p><asp:Literal ID="litFacebookLoginContent" runat="server"></asp:Literal></p>
					</section>
				</div>
			</article>
</asp:Content>
